import { createApp } from "vue";
import { createPinia } from "pinia";
import "reset-css";
import App from "./App.vue";
import router from "./router";
import "@/assets/css/common.css";
import "element-plus/dist/index.css";
import "./assets/main.css";

const app = createApp(App);
//原型链
// let imgUrl = "https://sc.wolfcode.cn";
// type ImgUrl = string;

// (app.config.globalProperties.imgUrl as ImgUrl) = imgUrl;
app.config.globalProperties.$imgUrl = "https://sc.wolfcode.cn";
app.use(createPinia());
app.use(router);

app.mount("#app");
